package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class SwitchboardItemsPK {

	@Column(name = "SwitchboardID", nullable = false)
    private Integer switchboardId;

	@Column(name = "ItemNumber", nullable = false)
    private Short itemNumber;

	@Column(name = "ItemText", nullable = false, length = 255)
    private String itemText;

	@Column(name = "Command", nullable = false)
    private Short command;

	@Column(name = "Argument", nullable = false, length = 255)
    private String argument;

	public SwitchboardItemsPK(Integer switchboardId, Short itemNumber, String itemText, Short command, String argument) {
        super();
        this.switchboardId = switchboardId;
        this.itemNumber = itemNumber;
        this.itemText = itemText;
        this.command = command;
        this.argument = argument;
    }

	private SwitchboardItemsPK() {
        super();
    }

	public Integer getSwitchboardId() {
        return switchboardId;
    }

	public Short getItemNumber() {
        return itemNumber;
    }

	public String getItemText() {
        return itemText;
    }

	public Short getCommand() {
        return command;
    }

	public String getArgument() {
        return argument;
    }
}
